<?php

class Submodule_FeedbackExtend{

    public $models;
    public $data;
    public $modelid;

    function __construct($models, $data, $modelid) {
        $this->models = $models;
        $this->modelid = $modelid;
        $this->data = $data;
    }


    public function getData($fieldid, $field, $data){
        $this->data = $data ? $data : $this->data;
        return isset($this->data[$field]) ? $this->data[$field] : NULL;
	}
	
	
    
    public function platformIndex($fieldid, $field, $data = NULL){
        $value = self::getData($fieldid, $field, $data);
        $value = 1 ? 'android' : 'ios';
        return $value;
    }


	
}
